package com.yhd.mapper;

import com.yhd.domain.User;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 二十
 * @since 2021/11/29 11:31 下午
 */
public interface UserMapper {
    @ResultType(value = User.class)
    @Select("select id ,name , age ,gender,hobby ,  we_chat_number weChatNumber from user ;")
    List<User> selectUsers();
}
